Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #26243: Improve license errors handling in webapp #6138

Open
wants to merge 6 commits into
base: branches/rudder/8.3
Choose a base branch
from

Conversation

clarktsiory
Copy link
Contributor

@clarktsiory clarktsiory commented Jan 22, 2025

https://issues.rudder.io/issues/26243

⚠️ Based on #6135

Several improvements, both in the displayed error information and the logic of error display while the list of plugin is showed :

  1. on the API-side :
  • error propagation from rudder-package, and add the response error types for yet other HTTP codes
  • error message cleaning : remove color from the rudder-package output
  1. on the frontend-side :
  • 🐛 errorDetails message was not read correctly, we should never read Bytes in Elm
  • disable buttons when there is no selection
  • after confirmation the server restarts (and returns 502/503 to the client) so we need a feedback :

Peek 2025-01-29 11-12

@clarktsiory clarktsiory requested a review from fanf January 22, 2025 17:43
@clarktsiory clarktsiory marked this pull request as draft January 22, 2025 17:43
@clarktsiory
Copy link
Contributor Author

PR updated with a new commit

2 similar comments
@clarktsiory
Copy link
Contributor Author

PR updated with a new commit

@clarktsiory
Copy link
Contributor Author

PR updated with a new commit

@clarktsiory clarktsiory force-pushed the ust_26243/improve_license_errors_handling_in_webapp branch 3 times, most recently from bb4e1be to 920b0a1 Compare January 27, 2025 17:49
@clarktsiory clarktsiory force-pushed the ust_26243/improve_license_errors_handling_in_webapp branch from 920b0a1 to fae2807 Compare January 27, 2025 17:50
@clarktsiory clarktsiory force-pushed the ust_26243/improve_license_errors_handling_in_webapp branch from fae2807 to da94e6c Compare January 27, 2025 17:59
Fixes #26243: Improve license errors handling in webapp
@clarktsiory
Copy link
Contributor Author

PR updated with a new commit

@clarktsiory clarktsiory marked this pull request as ready for review January 29, 2025 09:15
Fixes #26243: Improve license errors handling in webapp
@clarktsiory
Copy link
Contributor Author

PR updated with a new commit

… webapp

Fixes #26243: Improve license errors handling in webapp
@clarktsiory
Copy link
Contributor Author

PR updated with a new commit

…ling in webapp

Fixes #26243: Improve license errors handling in webapp
@clarktsiory
Copy link
Contributor Author

PR updated with a new commit

/**
* Display the attributes of this result, by default each on a new line with indentation
*/
def debugString(sep: String = "\n "): String = s"code: ${code}\n stderr: ${stderr}\n stdout: ${stdout}"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will apply this in places where it should

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant